#include <sys_config.h>
#include <basic_types.h>
#include <retcode.h>
#include <types.h>
#include <hld/dmx/dmx_dev.h>

typedef struct ews_indonesia
{
    UINT32 location_code;
    UINT16 disaster_code;
    UINT8 package_id;
    UINT8 authority;
    UINT8 warning_level;
    UINT8 *location_desc;
    UINT8 *disaster_desc;
    UINT8 *disaster_position;
    UINT8 *disaster_date;
    UINT8 *disaster_characteristic;
    UINT8 *message_content;
} ews_indonesia_t;

BOOL ap_ews_indonesia_monitor_start(struct dmx_device *dmx);
void ap_ews_indonesia_monitor_stop(struct dmx_device *dmx);
BOOL ap_ews_indonesia_info_reset(void);
BOOL ap_ews_indonesia_set_show(BOOL bshow);
BOOL ap_ews_indonesia_check_start(void);
ews_indonesia_t *ap_ews_indonesia_get_event(void);

